package com.boyinet.imesh2json.bean

import javax.persistence.Entity
import javax.persistence.Id

@Entity
class Type(@Id var id: Long) {

    var code: String? = null
    var value: String? = null
    var type: Int = 0

    override fun toString(): String {
        return "Type(id=$id, code=$code, value=$value, type=$type)"
    }

}